angular select ((ngmodel selected))

48

[(ngModel)] in a select -

<select name="miselect" [(ngModel)]="seleccionados" multiple="multiple">
    <option [value]="item" *ngFor="let item of lista">{{item}}</option>
</select>

Comments

Submit
0 Comments